﻿using EPiServer.Core;
using PageTypeBuilder;
using SocialPack.Composer.PageTypes.Tabs;

namespace SocialPack.Composer.PageTypes.Linkedin
{
    [PageType("9824b76c-ee58-40fb-a7f3-4990fc886733", Filename = "/modules/socialpack/composer/functions/linkedin/memberprofile.ascx", AvailableInEditMode = false, Name = "[Linkedin] Member Profile", Description = "Linkedin Member Profile")]
    public class MemberProfile : FunctionBase
    {
        [PageTypeProperty(EditCaption = "Public Profile URL", Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string PublicProfileUrl { get; set; }

        [PageTypeProperty(Tab = typeof(ComposerTab), Type = typeof(PropertyString))]
        public virtual string Text { get; set; }

        [PageTypeProperty(EditCaption = "Show connections", Tab = typeof(ComposerTab))]
        public virtual bool ShowConnections { get; set; }
    }
}